#include "target.h"
#include "phal_boot.h"

#include "service_startup.h"
#include "../config/service_startup_config.h"


void service_startup_initSystem(void)
{
	// Start boot
	phal_boot_start();

	// HAL init ----------------------
	HAL_INIT();

	// Finish boot
	phal_boot_finish();

	// Board init --------------------
	BOARD_INIT();
	// Kernel init -------------------
	KERNEL_INIT();
	// Service init ------------------
	SERVICE_INIT();
	// Application init --------------
	APPLICATION_INIT();
}
